home *** CD-ROM | disk | FTP | other *** search
- #include "fish.h"
-
- void draw16(win, work, x, y, width, x2, y2, w, h)
- struct window *win;
- short *work;
- int x, y, width, x2, y2, w, h;
- {
- struct fish *p;
- extern void _draw16();
-
- p = (struct fish *)win->owner;
- _draw16(work + y * width + x, width - w, /* dst */
- p->raster[p->index] + y2 * win->w + x2, /* src */
- win->w - w, p->color,
- w, h);
- }
-
- void draw4(win, work, x, y, width, x2, y2, w, h)
- struct window *win;
- char *work;
- int x, y, width, x2, y2, w, h;
- {
- struct fish *p;
- extern void _draw4();
-
- p = (struct fish *)win->owner;
- _draw4(work + y * width + x, width - w, /* dst */
- p->raster[p->index] + y2 * win->w + x2, /* src */
- win->w - w, p->color,
- w, h);
- }
-